home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 5 / THINK-C-.TXT < prev   
Text File  |  1991-10-19  |  2KB  |  89 lines

  1. Date: Mon, 14 Oct 1991 12:51:10 -0600
  2. From: schultz@pollux.math.iastate.edu
  3. Subject: [*] Missing p313 for THINK C OOP Manual
  4.  
  5. At least in some THINK C (v5.0) OOP manuals p313 is a duplicate.
  6. Here is the correct page, provided by Symantec on AOL.
  7.  
  8. Jonathan Schultz
  9. schultz@iastate.edu   (Iowa State University)
  10. 126 Beedle Dr A 106  -  Ames,  IA 50010-7648
  11. (515) 292-3814
  12. ResolveFileAlias
  13. ----------------
  14. procedure ResolveFileAlias;
  15. void ResolveFileAlias (void);
  16.  
  17. If the file specification is an alias, resolve it. 
  18.  
  19. OPEN AND CLOSE METHODS
  20. =======================
  21.  
  22. Open
  23. ----
  24. procedure Open (permission: SignedByte);
  25. void Open (SignedByte permission);
  26.  
  27. Open the file with the specified permission. This method does nothing.
  28. Subclasses must override this method. For an example of how to write an
  29. Open
  30. method, see CDataFile and other descendants of this class.
  31.  
  32. Close
  33. -----
  34. procedure Close;
  35. void Close (void);
  36.  
  37. Close this file. This method does nothing. Subclasses must override this
  38. method.
  39.  
  40. ACCESSING METHODS
  41. =================
  42.  
  43. GetName
  44. -------
  45. procedure GetName (var theName: Str63);
  46. void GetName (Str63 theName);
  47.  
  48. Get the name of the file.
  49.  
  50. GetFSSpec
  51. ---------
  52. procedure GetFSSpec (var aFileSpec: FSSpec);
  53. void GetFSSpec (FSSpec *aFileSpec);
  54.  
  55. Get an FSSpec record for this file.
  56.  
  57. ExistsOnDisk
  58. ------------
  59. function ExistsOnDisk: Boolean;
  60. Boolean ExistsOnDisk (void);
  61.  
  62. Returns TRUE if there's an existing file that matches the current
  63. specification.
  64.  
  65. GetMacFileInfo
  66. --------------
  67. procedure GetMacFileInfo (var fileInfo: FInfo)
  68. void GetMacFileInfo (FInfo *fileInfo);
  69.  
  70. Return the Finder information for this file. The information includes the
  71. file's type, creator, and icon position.
  72.  
  73. FILING METHODS
  74. ==============
  75.  
  76. CreateNew
  77. ---------
  78. procedure CreateNew (creator, fType: OSType);
  79. void CreateNew (OSType creator, OSType fType);
  80.  
  81. Create new file with the specified creator and file type. This method uses
  82. the
  83. name and volume information you set up with one of the specification
  84. methods.
  85. You can use the application signature in gSignature for the creator. 
  86.  
  87.  
  88.  
  89.